package old.adapter;

public class Computer {

    void net(Adaptee adaptee){
        adaptee.handle();
    }

    public static void main(String[] args) {
        Computer computer = new Computer();
        NetLine netLine = new NetLine();
        Adaptee usbToNet = new Adapter(netLine);

        computer.net(usbToNet);

    }
}
